<?php
include('code/Mvc.class.php');

preg_match('#.*(?=\/)#i',$_GET['r'],$control);
preg_match('#(?<=\/).*#i',$_GET['r'],$action);

(new Mvc($control[0],$action[0],$_GET))->run();
?>